﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_SURVEY_ITEM.cs
// 项目名称：DataService 
// 创建时间：2011-10-17
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_SURVEY_ITEM数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_SURVEY_ITEM", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_SURVEY_ITEM", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_SURVEY_ITEM_Entity
	{
		#region 变量定义		
		///<summary>
		///自增编号
		///</summary>
		private int? _aUTOID;
		///<summary>
		///题目编号
		///</summary>
		private int? _iTEM_ID;
		///<summary>
		///问卷编号
		///</summary>
		private int? _sURVEY_ID;
		///<summary>
		///题目名称
		///</summary>
		private string _iTEM_NAME = String.Empty;
		///<summary>
		///题目类型
		///</summary>
		private int? _iTEM_TYPE;
		///<summary>
		///是否允许输入
		///</summary>
		private int? _eNINPUT;
		///<summary>
		///是否允许为空
		///</summary>
		private int? _eNNULL;
		///<summary>
		///题目说明
		///</summary>
		private string _iINFO = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///问卷名称
        ///</summary>
        private string _sURVEY_NAME = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_SURVEY_ITEM_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///自增编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_SURVEY_ITEM")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public int? AUTOID
		{
			get {return _aUTOID;}
			set { _aUTOID = value; }
			
		}

		///<summary>
		///题目编号
		///</summary>		
		public int? ITEM_ID
		{
			get {return _iTEM_ID;}
			set { _iTEM_ID = value; }
			
		}

		///<summary>
		///问卷编号
		///</summary>		
		public int? SURVEY_ID
		{
			get {return _sURVEY_ID;}
			set { _sURVEY_ID = value; }
			
		}

		///<summary>
		///题目名称
		///</summary>		
		public string ITEM_NAME
		{
			get {return _iTEM_NAME;}
			set {
					_iTEM_NAME = value;
				}
			
		}

		///<summary>
		///题目类型
		///</summary>		
		public int? ITEM_TYPE
		{
			get {return _iTEM_TYPE;}
			set { _iTEM_TYPE = value; }
			
		}

		///<summary>
		///是否允许输入
		///</summary>		
		public int? ENINPUT
		{
			get {return _eNINPUT;}
			set { _eNINPUT = value; }
			
		}

		///<summary>
		///是否允许为空
		///</summary>		
		public int? ENNULL
		{
			get {return _eNNULL;}
			set { _eNNULL = value; }
			
		}

		///<summary>
		///题目说明
		///</summary>		
		public string IINFO
		{
			get {return _iINFO;}
			set {
					_iINFO = value;
				}
			
		}
        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///问卷名称
        ///</summary>		
        public string SURVEY_NAME
        {
            get { return _sURVEY_NAME; }
            set
            {
                _sURVEY_NAME = value;
            }

        }
		
		#endregion
		
	}
}
